using UnityEngine;
using System.Collections;

public abstract class Reaction : MonoBehaviour {

	void Awake () 
	{
		GameController.OnPain += pain;
	}
	
	void OnDestroy()
	{
		GameController.OnPain -= pain;
	}
	
	abstract protected void pain(float amount);
}
